package com.bird.controller;

import com.bird.config.UserConfig;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.annotation.sql.DataSourceDefinition;

/**
 * @data 2025/7/25 17:19
 * @author: bird
 * @description:
 */
@Data
@RestController
@RequestMapping(value = "/user")
public class UserController {


    @Resource
    private UserConfig userConfig;

    @GetMapping(value = "/getuser")
    public String getUser() {
        String thumbnail_1600 = userConfig.getThumbnail_1600();
        System.out.println(thumbnail_1600);
        return thumbnail_1600;

    }
}
